First of all, if you want to upgrade never make a new installation, do not run install.php!

Please make sure that you have a complete database backup before you upgrade. I also recommend that you backup your old files.


Upgrade from version 1.0.5 to 1.0.6:
This version introduces a new template and language file system. Also new: integrated template editor and much more. To update: Please make sure to replace ALL files including ALL templates and even the config.php. The best way to do this update is do backup the old files first, then delete them from the server and upload the new ones. Make sure to use the MySQL login you used before and run upgrade6.php. Also make sure to replace or edit all iRedirector index.php files. The old ones looked like:

<?
$directory = '/FULL/PATH/TO/YOUR/IREDIRFOLDER/';
include( . 'redir.php');
?>

Now they have to look like:
<?
define('directory', '/FULL/PATH/TO/YOUR/IREDIRFOLDER/');
include(directory . 'redir.php');
?>
(have a look at the file in the examples folder)


Upgrade from version 1.0.4 to 1.0.5:
First of all upload and replace all PHP-files (except of "config.php"), all language-files (the languages-folder), the images-folder and the new templates from the tpl-folder: whois_random_foot.tpl, whois_random_head.tpl, whois_random_template.tpl, whois_latest_foot.tpl, whois_latest_head.tpl & whois_latest_template.tpl

Then run upgrade5.php to update your database from Version 1.0.4 to 1.0.5!


Upgrade from version 1.0.3 to 1.0.4:
The only thing you have to do is uploading all PHP-files (except of "config.php"), all admin_*.tpl and signup_*.tpl files to your tpl folder. Then run upgrade4.php to update your database from Version 1.0.3 to 1.0.4!


Upgrade from version 1.0.2 to 1.0.3:
Fist of all upload all the files to your server (except of "config.php").
After that run upgrade3.php and follow the instructions!

If you are still using index.shtml file in your webroot:
You have delete it and put a "index.php" to the web-root directory of each domain you want to use. You have to make sure that it is accessed first when someone tries to access your domain. (So for example if there is a index.php or index.html which is currently accessed you might need to rename it to index2).

You also need to know the full Linux/Unix path of your installation directory. (Contact your server admin if you do not know it).

Put the following into "index.php":

If you want to use path forwarding you also have to put an ".htaccess" file into the webroot of each domain:


Upgrade from version 1.0.1 to 1.0.2:
Upload and reaplce all files. After that run upgrade2.php and follow the instructions!

This will only upgrade the script to version 1.0.2 so you have to continue with the next steps.


Upgrade from version 1.0.0 to 1.0.1:
First of all upload and replace ALL files. After that run upgrade1.php first.

This will only upgrade the script to version 1.0.1 so you have to continue with the next steps.


IMPORTANT: After the upgrade is finished delete all "install" or "upgrade" .PHP-files from your server!